﻿<%@ Page Title="" Language="C#" MasterPageFile="~/activityAdmin/AdmMasterPage.master"
    AutoEventWireup="true" CodeFile="Statistics.aspx.cs" Inherits="activityAdmin_UC01_Statistics" %>

<%@ Register Src="../usercontrol/DdlDatePicker.ascx" TagName="DdlDatePicker" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <fieldset class="fieldset">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td>
                    <uc1:DdlDatePicker ID="datePicker" runat="server" />
                    <asp:Button ID="btnSearch" runat="server" Text="搜尋資料" OnClick="btnSearch_Click" />
                    <asp:Button ID="btnExport" runat="server" Text="匯出Excel" OnClick="btnExport_Click" />
                </td>
            </tr>
        </table>
        <asp:Panel ID="pnlExport" runat="server">
            <asp:Label ID="lblTitle" runat="server" Text="" Visible="false"></asp:Label>
            <asp:GridView ID="gvList" runat="server" BackColor="White" BorderColor="#DEDFDE"
                AutoGenerateColumns="false" BorderStyle="None" BorderWidth="1px" CellPadding="4"
                ForeColor="Black" GridLines="Vertical" Width="100%" CssClass="datagrid">
                <RowStyle BackColor="#F7F7DE" />
                <FooterStyle BackColor="#CCCC99" />
                <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" />
                <Columns>                 
                    <%--<asp:BoundField DataField="Date" HeaderText="報名日期" DataFormatString="{0:yyyy/MM/dd}" />--%>  
                    <asp:BoundField DataField="GetStr_Title" HeaderText="報名日期" />     
                    <asp:BoundField DataField="CountOption1_1" HeaderText="晨間勃起對男性健康的意義" />
                    <asp:BoundField DataField="CountOption1_2" HeaderText="勃起功能障礙與心血管疾病的關係" />
                    <asp:BoundField DataField="CountOption1_3" HeaderText="勃起功能障礙與慢性病的關係" />
                </Columns>
            </asp:GridView>
            <%--<asp:Label ID="lblTitle" runat="server" Text="" Visible="false"></asp:Label>
            <table runat="server" visible="false" id="tbData" class="txt-12-1" border="1" cellspacing="0"
                cellpadding="4" style="color: Black; background-color: White; border-color: #DEDFDE;
                border-width: 1px; border-style: None; width: 100%; border-collapse: collapse;"
                rules="cols">
                <tbody>
                    <tr style="color: White; background-color: #6B696B; font-weight: bold;">
                        <th align="center" scope="col">
                            晨間勃起對男性健康的意義
                        </th>
                        <th align="center" scope="col">
                            勃起功能障礙與心血管疾病的關係
                        </th>
                        <th align="center" scope="col">
                            勃起功能障礙與慢性病的關係
                        </th>
                    </tr>
                    <tr style="background-color: #F7F7DE;">
                        <td align="center" style="width: 33%;">
                            <asp:Label ID="lblOption1_1" runat="server" Text="0"></asp:Label>
                        </td>
                        <td align="center" style="width: 33%;">
                            <asp:Label ID="lblOption1_2" runat="server" Text="0"></asp:Label>
                        </td>
                        <td align="center" style="width: 33%;">
                            <asp:Label ID="lblOption1_3" runat="server" Text="0"></asp:Label>
                        </td>
                    </tr>
                </tbody>
            </table>--%>
        </asp:Panel>
    </fieldset>
</asp:Content>
